package com.ztgf.commodity.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/*
 * @author: chenyu.wang
 * @date: 2020-09-04
 * @description:筛选属性管理表对象
 */
@Data
@TableName("commodity_filter_attributes")
@ApiModel(value = "筛选属性管理表对象", description = "筛选属性管理表对象")
public class CommodityFilterAttributesDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "筛选属性名称")
    private String name;

    @ApiModelProperty(value = "状态 0正常，1删除")
    private Integer status;

    @ApiModelProperty(value = "是否发布 0未发布，1发布")
    private Integer isPublish;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String notes;

    @ApiModelProperty(value = "父级Id")
    private Long parentId;
}
